{% spaceless %}
    {% load future wenlincms_tags staticfiles wlcore_tags %}
    <!DOCTYPE html>
    <html class="no-js" lang="zh-CN">
    {% block html_head %}
        <head>
            <meta http-equiv="Content-type" content="text/html; charset=utf-8">
            <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
            <meta name="viewport"
                  content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
            <meta name="format-detection" content="telephone=no">
            <meta name="renderer" content="webkit|ie-stand|ie-comp">
            <meta http-equiv="Cache-Control" content="no-siteapp"/>
            <meta http-equiv="x-dns-prefetch-control" content="on"/>
            <link rel="dns-prefetch" href="http://hm.baidu.com"/>
            <meta name="keywords" content="{% block meta_keywords %}{{ sitesettings.keywords }}{% endblock %}">
            <meta name="description"
                  content="{% block meta_description %}{{ sitesettings.description }}{% endblock %}">
            <title>
                {% block meta_title %}{{ sitesettings.title }}{% endblock %} |
                {% block main_title %}{{ sitesettings.title }}-{{ sitesettings.sub_title }}{% endblock %}
            </title>
            <link rel="shortcut icon" href="{{ STATIC_URL }}wltheme/img/favicon.ico">
            <link type="text/plain" href="/humans.txt" rel="author">
            {% block iedetect %}
                <!--[if lt IE 9]>
                    <script>
                        window.location.href='/core/html/lower/';
                    </script>
                <![endif]-->
            {% endblock %}
            {% block main_css %}
                <link rel="stylesheet" href="{{ STATIC_URL }}opensource/amazeui-2.4/css/amazeui.min.css">
                <link rel="stylesheet" href="{{ STATIC_URL }}{{ "wltheme/css/wenlincms.css"|file_time_stamp }}">
                <link rel="stylesheet" href="{{ STATIC_URL }}{{ "wltheme/css/main.css"|file_time_stamp }}">
            {% endblock %}
            {% block extra_css %}{% endblock %}
            {% block extra_head %}{% endblock %}
            {% block statistics %}{{ sitesettings.statistic|safe }}{% endblock %}
        </head>
    {% endblock %}
    <body>
    {% block iedetect_body %}{% endblock %}

    {#--主导航栏--#}
    {% block header %}{% include "wltheme/header.html" %}{% endblock %}

    {#--主体--#}
    <div {% block wlmain %}class="wlmain"{% endblock %}>

        {#--面包屑导航--#}
        {% block breadcrumb_menu %}{% endblock %}

        {#--单列布局、图片轮播框--#}
        {% block slides %}{% endblock %}

        {% block main-container %}
            <div class="am-container">
                {#--左侧边栏--#}
                {% block left_panel %}{% endblock %}

                {#--主体--#}
                {% block main %}{% endblock %}

                {#--右侧边栏--#}
                {% block right_panel %}{% endblock %}
            </div>
        {% endblock %}
    </div>

    {#--页脚--#}
    {% block footer %}{% include "wltheme/footer.html" %}{% endblock %}

    {% block pre_js %}{% endblock %}
    {% block main_js %}
        <script src="{{ STATIC_URL }}opensource/amazeui-2.5.2/js/jquery.min.js"></script>
        <script src="{{ STATIC_URL }}opensource/amazeui-2.5.2/js/amazeui.min.js"></script>
        <script src="{{ STATIC_URL }}{{ "wltheme/js/wenlincms.js"|file_time_stamp }}"></script>
    {% endblock %}
    {% block extra_js %}{% endblock %}
    </body>
    </html>
{% endspaceless %}
